package com.zhang.yunfu_norevocation.entity.vo;

import com.zhang.yunfu_norevocation.entity.comm.BaseDataReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

@ApiModel(value = "查询处方列表入参")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class QueryDrugOrderREQ extends BaseDataReq {

    @ApiModelProperty(value = "订单状态：2-药品订单待审核、3-药品订单已审核（药品订单待发药）、4-药品订单已发药、5-已拒绝，6-药品退费")
    private String orderStatus;

    @ApiModelProperty(value = "请求页码", required = true)
    @Min(1)
    private Integer pageNum;

    @ApiModelProperty(value = "请求记录数", required = true)
    @Min(1)
    private Integer pageSize;

    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "药店Id",hidden = true)
    private String pharmacyId;

    @ApiModelProperty(value = "处方编号")
    private String orderNo;
}
